package aop02;

/**
 * @author 石小俊
 */
public class SomeServiceImpl implements SomeService {
    @Override
    public void doSome() {
        System.out.println("SomeServiceImpl.doSome");
    }

    @Override
    public void doOther() {
        System.out.println("SomeServiceImpl.doOther");
    }

    @Override
    public String login(String username, String password) {
        System.out.println("SomeServiceImpl.login");
        if("admin".equals(username) && "123456".equals(password)) {
            return "success";
        }
        return "fail";
    }
}
